Skip to content

同步主仓库#2

Merged
markwei-ucloud merged 44 commits into
markwei-ucloud:masterfrom
ucloud:master
Jul 14, 2026
Merged

同步主仓库#2
markwei-ucloud merged 44 commits into
markwei-ucloud:masterfrom
ucloud:master

Conversation

@markwei-ucloud

Copy link
Copy Markdown
Owner

Features:

Fixes:

walter.chen and others added 30 commits July 10, 2026 10:42
- Add `resize` command to the memcache product
- Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90` (required for
  `NewResizeUMemcacheGroupRequest` / `ResizeUMemcacheGroup`)
- Update `cmdtree` / `completion` golden testdata for memcache

Co-Authored-By: Claude <noreply@anthropic.com>
…ource-type dispatch

New commands:
- modify-name, modify-password
- flush, isolation, resize
- list-block, list-proxy
- create-proxy, delete-proxy, resize-proxy

Refactor:
- Introduce `describeRedisMode` to dispatch `delete`/`restart` by resource
  type instead of guessing from the id prefix (`uredis` / `uhredis` /
  `uregionredis` / `udredis`)
- Add `BlockRow` / `ProxyRow` row types

Deps / testdata:
- Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90`
- Update `cmdtree` / `completion` golden testdata for redis

Co-Authored-By: Claude <noreply@anthropic.com>
- list.go: use resourceTypeToMode instead of the redisTypeMap lookup
  (single source of truth for resource-type → mode mapping)
- rows.go: drop the now-unused redisTypeMap; gofmt BlockRow/ProxyRow
- product.yaml: update owner

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Add create, list, describe, delete, expand, resize, restart, and
create-option commands for UClickhouse cluster management.
service create(mainland + overseas):
- 成功时经 ProgressWriter 打印叙述,table 模式不再零输出;
  ResourceId 为空时报错,避免静默当成功
- 新增 --async flag;默认同步轮询 DescribeService 直到 DefenceStatus="Started"

overseas ip:移除未启用的 bind/unbind 命令及 checkOverseasService 辅助

同步更新 cmdtree.golden 与 testcases.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(cli): add --wait-timeout-sec to configure synchronous poll timeout (#119)
feat(uclickhouse): add UClickhouse CLI commands
- Extract shared deleteOpts/newDeleteCmd into delete.go to satisfy
  one-constructor-per-file rule (rule10)
- Add missing newDeleteSharded with correct action=DeleteUMongoDBShardedCluster
  and idParam=ShardedClusterId
- Remove stale flag=async lines from cmdtree.golden for create-replset
  and create-sharded (flags were removed in prior commit)
feat(redis): add proxy/flush/isolation/resize/modify commands and resource-type dispatch
@markwei-ucloud markwei-ucloud merged commit d904e4b into markwei-ucloud:master Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants